<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="my" uri="/WEB-INF/tld/mytag.tld"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="${basePath }">
<title>分页标签测试</title>
<script type="text/javascript">
	
</script>
<style type="text/css">
.page {
	font-size: 12px;
	margin: 2px;
}

.page span {
	color: red;
	border: 1px solid;
	background-color: #00FFFF;
	padding: 2px;
}

.page a {
	color: red;
	border: 1px solid;
	padding: 2px;
	text-decoration: none;
}

.page a:HOVER {
	color: red;
	border: 1px solid;
	background-color: #00FFFF;
	padding: 2px;
	text-decoration: none;
}
</style>
</head>
<body>
	<form id="myform" action="login!testPage.htm" method="post" onsubmit="return false;">
		<ul>
			<c:if test="${null!=pageResult }">

				<c:forEach items="${pageResult.list }" var="v" varStatus="i">
					<li>&nbsp;&nbsp;#${(pageResult.current-1 )*
						pageResult.pageSize + i.index+1 }&nbsp;&nbsp;&nbsp;&nbsp;
						${v.sourNumber}
				</c:forEach>
			</c:if>
		</ul>
		<my:page pageResult="${pageResult }" formId="myform" className="page"
			isNoScript="true" />
	</form>
</body>
</html>
